﻿<%@ Page Title="" Language="C#" MasterPageFile="MasterPageSemMenu.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
    .acesso
    {
        font: 26px tahoma, arial;
    }
    span 
    {
        font: 12px tahoma, arial;
    }
    input[type=text], input[type=password]
    {
        padding: 5px;
        font: 24px tahoma, arial;
    }
    
    .style2
    {
        width: 133px;
    }
    #tabela 
    {
        margin-top: 10px;
        width: 400px; 
        position: absolute;
        left: 50%;
        margin-left: -200px;                
    }
    
    h2
    {
        text-align: center;
        font: bold 30px Tahoma, Arial;
        color: #0097CC;
        margin-top: 50px;
    }
    
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <br /><br />
    <h2>Acesso do Sistema</h2>
    <table align="center" id="tabela">
        <tr>
            <td class="acesso">
                Usuário:</td>
            <td>
                <asp:TextBox ID="txtusr" runat="server" MaxLength="20" Width="180px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="acesso">
                Senha:</td>
            <td>
                <asp:TextBox ID="txtSenha" runat="server" MaxLength="20" Width="180px" 
                    TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:RequiredFieldValidator ID="REV1" runat="server" ControlToValidate="txtusr" 
                    Display="None" ErrorMessage="Informe o usuário"></asp:RequiredFieldValidator>
                <asp:RequiredFieldValidator ID="REV2" runat="server" 
                    ControlToValidate="txtSenha" Display="None" ErrorMessage="Informe a senha"></asp:RequiredFieldValidator>
                <asp:ValidationSummary ID="VS1" runat="server" ShowMessageBox="True" 
                    ShowSummary="False" />
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                    <asp:ImageButton ID="btnEntrar" runat="server" 
                    ImageUrl="../figuras/bEntrar.gif" 
                    onclick="btnEntrar_Click" />
            </td>
        </tr>
    </table>
</asp:Content>


